[INFO] cloning repository https://github.com/jkdzzzz/simple-rust-todo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkdzzzz/simple-rust-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c93b49b7327147bcfc086be67d67a7122a05e974
[INFO] fixing jkdzzzz/simple-rust-todo against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] finished tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] tweaked toml for git repo https://github.com/jkdzzzz/simple-rust-todo written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkdzzzz/simple-rust-todo on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jkdzzzz/simple-rust-todo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170
[INFO] running `Command { std: "docker" "start" "79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking simple-rust-todo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let lines: Vec<String> = reader.lines().filter_map(|line| {
[INFO] [stdout]    |  ________________-----------___^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                expected due to this
[INFO] [stdout] 66 | |         let line = line.ok()?;
[INFO] [stdout] 67 | |         if &line != task_line {
[INFO] [stdout] 68 | |             Some(line)
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |     });
[INFO] [stdout]    | |______^ expected `Vec<String>`, found `FilterMap<Lines<BufReader<File>>, ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<String>`
[INFO] [stdout]               found struct `FilterMap<std::io::Lines<BufReader<File>>, {closure@src/utils.rs:65:56: 65:62}>`
[INFO] [stdout] help: consider using `.collect()` to convert the `Iterator` into a `Vec<String>`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     }).collect();
[INFO] [stdout]    |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let lines: Vec<String> = reader.lines().filter_map(|line| {
[INFO] [stdout]    |  ________________-----------___^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                expected due to this
[INFO] [stdout] 66 | |         let line = line.ok()?;
[INFO] [stdout] 67 | |         if &line != task_line {
[INFO] [stdout] 68 | |             Some(line)
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |     });
[INFO] [stdout]    | |______^ expected `Vec<String>`, found `FilterMap<Lines<BufReader<File>>, ...>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<String>`
[INFO] [stdout]               found struct `FilterMap<std::io::Lines<BufReader<File>>, {closure@src/utils.rs:65:56: 65:62}>`
[INFO] [stdout] help: consider using `.collect()` to convert the `Iterator` into a `Vec<String>`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     }).collect();
[INFO] [stdout]    |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tasks`
[INFO] [stdout]   --> src/main.rs:40:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut tasks: Vec<String> = Vec::new();
[INFO] [stdout]    |             --------- move occurs because `tasks` has type `Vec<String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks);
[INFO] [stdout]    |                                        ----- value moved here
[INFO] [stdout] 40 |         utils::handle_command(command, file, tasks);
[INFO] [stdout]    |                                              ^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `task_menu` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/utils.rs:5:25
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn task_menu(tasks: Vec<String>) -> String {
[INFO] [stdout]    |        ---------        ^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |        |
[INFO] [stdout]    |        in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks.clone());
[INFO] [stdout]    |                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tasks`
[INFO] [stdout]   --> src/main.rs:40:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut tasks: Vec<String> = Vec::new();
[INFO] [stdout]    |             --------- move occurs because `tasks` has type `Vec<String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks);
[INFO] [stdout]    |                                        ----- value moved here
[INFO] [stdout] 40 |         utils::handle_command(command, file, tasks);
[INFO] [stdout]    |                                              ^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `task_menu` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/utils.rs:5:25
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn task_menu(tasks: Vec<String>) -> String {
[INFO] [stdout]    |        ---------        ^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |        |
[INFO] [stdout]    |        in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks.clone());
[INFO] [stdout]    |                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple-rust-todo` (bin "simple-rust-todo") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `simple-rust-todo` (bin "simple-rust-todo" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170", kill_on_drop: false }`
[INFO] [stdout] 79c2ef24a82c05b384e8db5fc45a7e74dc63d841c0baec149b2fb42dacaa8170
